package main

import (
	"fmt"
	. "utils"
)

func main() {
	//var a []interface{}
	//var b []map[string]interface{}
	//var str []interface{}
	//str = append(str, "a")
	//str = append(str, "b")
	//fmt.Println(TypeCheck("xiaochuan", "string"))
	//fmt.Println(TypeCheck(123, "int"))
	//fmt.Println(TypeCheck(12.3, "int"))
	//fmt.Println(GetType(a))
	//fmt.Println(TypeCheck(a, "[]interface {}"))
	//fmt.Println(GetType(b))
	//fmt.Println(TypeCheck(b, "map[string]interface {}"))
	fmt.Println(InArray(1, Aitoi([]int{1, 2})))
	fmt.Println(Aitoi([]int{1, 2}))
	fmt.Println(Astoi([]string{"a", "b"}))
}

